{{-- resources\views\login.blade.php --}}
<!DOCTYPE html>
<html lang="zh-cmn-Hans">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>{{env('APP_NAME')}}=>{{$title??'未命名'}}</title>
    <link rel="stylesheet" href="css/login.css">
    <script>//防止过渡动画自动播放
        
    </script>
</head>

<body>
    <div class="container">
        <div class="form-warp">
            <form class="sign-in-form" method="POST" name="fr" method="post" action="login" onsubmit="return validateForm()">
                @csrf
                <h2 class="form-title">登录</h2>
                <input placeholder="用户名" name="email" type="email" />
                <input type="password" placeholder="密码" name="pwd" />
                <input type="submit" class="submit-btn" value="立即登录">
            </form>
            {{-- <form class="sign-up-form">
                <h2 class="form-title">注册</h2>
                <input placeholder="用户名" name="txtLogin" />
                <input type="password" placeholder="密码" name="txtpwd" />
                <div class="submit-btn">立即注册</div>
            </form> --}}
        </div>
        <div class="desc-warp">
            <div class="desc-warp-item sign-up-desc">
                <div class="content">
                    {{-- <button id="sign-up-btn">注册</button> --}}
                </div>
                <img src="img/login/log.svg" alt="">
            </div>
            {{-- <div class="desc-warp-item sign-in-desc">
                <div class="content">
                    <button id="sign-in-btn">登录</button>
                </div>
                <img src="img/login/register.svg" alt="">
            </div> --}}
        </div>
    </div>
    <script src="js/login.js"></script>
</body>

</html>